package cn.zhqr.db.model.base;

import com.jfinal.plugin.activerecord.IBean;

/**
* Created by charles on 2023-07-23 09:01:14
*/
@SuppressWarnings("serial")
public abstract class BaseAdmin<M extends BaseAdmin<M>> extends BaseModel<M> implements IBean {

    public Long getId(){
        return get("id");
    }

    public void setId(Long id){
        set("id",id);
    }
    public String getLoginName(){
        return get("login_name");
    }

    public void setLoginName(String loginName){
        set("login_name",loginName);
    }
    public String getPassword(){
        return get("password");
    }

    public void setPassword(String password){
        set("password",password);
    }
    public String getRealName(){
        return get("real_name");
    }

    public void setRealName(String realName){
        set("real_name",realName);
    }
    public String getAvatar(){
        return get("avatar");
    }

    public void setAvatar(String avatar){
        set("avatar",avatar);
    }
    public java.util.Date getLastLoginTime(){
        return get("last_login_time");
    }

    public void setLastLoginTime(java.util.Date lastLoginTime){
        set("last_login_time",lastLoginTime);
    }
    public Integer getStatus(){
        return get("status");
    }

    public void setStatus(Integer status){
        set("status",status);
    }
    public java.util.Date getCreateTime(){
        return get("create_time");
    }

    public void setCreateTime(java.util.Date createTime){
        set("create_time",createTime);
    }
}
